x-avatar {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 2.5rem;
  height: 2.5rem;
}

x-avatar[size=lg] {
  width: 3.5rem;
  height: 3.5rem;
}

x-avatar img {
  border-radius: 9999px;
  width: 100%;
  height: 100%;
  vertical-align: middle;
  object-fit: cover;
}